<template>
  <div class="home">
    <h3>你好，home</h3>
    {{id}}
    <router-view />
  </div>
</template>

<script>
export default {
  name: "home",
  props: {
    id: {
      type: String
    }
  },
  components: {
    // HomeChild
  },
  created() {
    console.log(this.$route)
  }
};
</script>
<style lang="stylus" scoped>
.home {
  width: 200px;
  height: 200px;
  background-color: rgba(255, 0, 0, 0.5);
}
</style>
